$(function() {
	loadDeskTop();
	 
	$("#temp").click(function showVideo(){
		$(".shortcut img").fadeOut("fast");
		$(".shortcut img").fadeIn("fast");
		var moduleName='temp_window';
		if($("#desk_window .container:first").children().is("#"+moduleName)){return}
		createVideoPlayer($("#desk_window .container:first"),moduleName);
		$("#"+moduleName).draggable({containment:"html",scroll: false});
	});
	$("#video").click(function showVideo(){
		$(".shortcut img").fadeOut("fast");
		$(".shortcut img").fadeIn("fast");
		var moduleName='video_window';
		if($("#desk_window .container:first").children().is("#"+moduleName)){return}
		creatWindow($("#desk_window .container:first"),moduleName);
		$("#"+moduleName).draggable({containment:"html",scroll: false});
	});
});   


